package org.test.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.test.model.Login;

import struts.action.Action;

public class LoginAction extends Action {

	private Login login;
	
	private String token;

	private Integer age;

	@Override
	public String execute(HttpServletRequest request,
			HttpServletResponse response) {
		System.out.println(login);
		return "success";
	}

	public void setLogin(Login login) {
		this.login = login;
	}

	public Login getLogin() {
		return login;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	
	
}
